package com.cv.platform.controller.platform.history.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 视频平台 - 视频详情历史记录 Response VO
 *
 * @author Charles_XDXD
 */
@Data
@Schema(description = "视频平台 - 视频详情历史记录 Response VO")
public class CvVideoDetailHistoryRespVO {

    /**
     * 记录编号
     */
    @Schema(description = "记录编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
    private Long id;

    /**
     * 用户编号
     */
    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
    private Long userId;

    /**
     * 视频编号
     */
    @Schema(description = "视频编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
    private Long videoId;

    /**
     * 播放状态
     */
    @Schema(description = "播放状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "播放中")
    private String playStatus;

    /**
     * 开始时间
     */
    @Schema(description = "开始时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    @Schema(description = "结束时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime endTime;

    /**
     * 播放位置，单位：秒
     */
    @Schema(description = "播放位置，单位：秒", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
    private Integer position;

    /**
     * 播放时长，单位：秒
     */
    @Schema(description = "播放时长，单位：秒", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
    private Integer duration;

}
